package com.im.users.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.im.common.utils.PageUtils;
import com.im.common.utils.R;
import com.im.common.vo.MatchVo;
import com.im.security.dto.LoginVo;
import com.im.users.entity.UserEntity;
import com.im.users.vo.DetialVo;

import java.util.List;
import java.util.Map;

/**
 * @author zengla
 * @email 861475790@qq.com
 * @date 2023-07-10 15:19:37
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    R login(Map map) throws Exception;

    R updateLoginTime(Map map);

    DetialVo getUserDetail(Integer uid);

    List getMatch(MatchVo matchVo, LoginVo loginVo);
}

